﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HotelManager.Data_Transfer_Layer
{
    class chitiethoadonphongDTO
    {
        #region Variables
        private int hd_id, p_id, cthdp_soluong, cthdp_gia;
        #endregion

        #region Properties
        public int Cthdp_gia
        {
            get { return cthdp_gia; }
            set { cthdp_gia = value; }
        }

        public int Cthdp_soluong
        {
            get { return cthdp_soluong; }
            set { cthdp_soluong = value; }
        }

        public int P_id
        {
            get { return p_id; }
            set { p_id = value; }
        }

        public int Hd_id
        {
            get { return hd_id; }
            set { hd_id = value; }
        }
        #endregion

        public chitiethoadonphongDTO()
        {
            hd_id = -1;
            cthdp_gia = -1;
            cthdp_soluong = -1;
            p_id = -1;
        }
        public chitiethoadonphongDTO(int cthdp_id, int p_id, int cthdp_soluong, int cthdp_gia)
        {
            this.hd_id = cthdp_id;
            this.p_id = p_id;
            this.cthdp_soluong = cthdp_soluong;
            this.cthdp_gia = cthdp_gia;
        }
    }
}
